package com.rceeslca.modules.cam.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rceeslca.common.dao.BaseDao;
import com.rceeslca.modules.cam.entity.CamCourse;
import com.rceeslca.modules.cam.vo.CamCourseVo;
import com.rceeslca.modules.cam.vo.CamStudentCourseVo;
import com.rceeslca.modules.cam.vo.CamTeacherCourseVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 课程
 */
@Mapper
public interface CamCourseDao extends BaseDao<CamCourse> {

    /**
     * 分页查询
     */
    IPage<CamCourseVo> pageSelect(Page<CamCourseVo> page, String name,Long teacherId,String teacherName);


    /**
     * 列展示
     */
    List<CamCourseVo> listSelect(String name);


    /**
     * 分页查询教师课程
     */
    IPage<CamTeacherCourseVo> pageSelectTeacherCourse(Page<CamTeacherCourseVo> page, String name, Long teacherId);

}
